/*
 *@description: axios 封装工具类
 *@author: albert
 *@date: 2023-11-25 18:39:50
 *@version: V1.0
 */

import axios from 'axios'

const service = axios.create({
  baseURL: '',
  timeout: 5000
})

/*
 *@description: 配置响应拦截器
 *@author: albert
 *@date: 2023-11-25 19:39:39
 *@version: V1.0
*/
service.interceptors.response.use(response => {
    return response.data
})

export default service
